package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.IncomeFlowMapper;
import com.rongke.model.IncomeFlow;
import com.rongke.service.IncomeFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @IncomeFlowServiceImpl
 * @收益流水记录ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class IncomeFlowServiceImpl extends ServiceImpl<IncomeFlowMapper, IncomeFlow> implements IncomeFlowService {

    @Autowired
    private IncomeFlowMapper incomeFlowMapper;

    /**
     * @根据条件查找收益流水记录
     * @param incomeFlow
     * @return
     */
    @Override
    public List<IncomeFlow> selectByCondition(IncomeFlow incomeFlow) {
        return incomeFlowMapper.selectByCondition(incomeFlow);
    }

    @Override
    public List<IncomeFlow> selectIncomeFlowList(IncomeFlow incomeFlow) {
        return incomeFlowMapper.selectIncomeFlowList(incomeFlow);
    }

}
